POV-Ray 3.7 Unofficial Documentation

POV-Ray Unofficial 3.7

aug 2013

[Note] Important:
This documentation (and application) is based on MegaPOV 1.2.1. Not all the features in the template dialogs are implemented in POV-Ray 3.7.
The renderer however is unmodified and is 100% equal to the Windows and UNIX official distribution.
In case you use these templates, don't expect that missing features will be implemented in POV-Ray 3.7!
However, most features specific to MegaPOV are marked with an asterix in those template dialogs or will not be colored in blue in the source file.
When reading this manual you should substitute "MegaPOV" by "POV-Ray 3.7 Unofficial".

Abstract

This document describes the Mac OS-specific functions of this unofficial POV-Ray™ compile, including installation and setup.

To learn about using this product in depth, you will also need to read through the documentation of POV-Ray™, which can be found at http://povray.org/documentation/. It describes the general operation of POV-Ray™, its features and language, and includes some good tutorials for beginners.

The documentation that follows describes how to use the POV-Ray 3.7 Unofficial GUI. It explains the use of the menus, windows, templates and editors.


Table of Contents

1. Introduction
1.0. What changed in this version?
1.1. History and motivation of this unofficial compile
1.2. Copyright and bug reports
1.3. How and where to report bugs!
1.4. Differences between the official and unofficial versions
1.5. System requirements
2. First run
2.1. Installation
2.2. Memory requirements
3. The menu
3.1. POV-Ray 3.7 Unofficial
3.1.1. About POV-Ray 3.7 Unofficial
3.1.2. Preferences...
3.1.3. Services
3.1.4. Hide / show
3.1.5. Quit POV-Ray 3.7 Unofficial
3.2. File
3.2.1. New
3.2.2. Open
3.2.3. Open Recent
3.2.4. Import
3.2.5. Export
3.2.6. Close
3.2.7. Save
3.2.8. Save As...
3.2.9. Revert
3.2.10. Page setup...
3.2.11. Print...
3.3. Edit
3.3.1. Undo
3.3.2. Redo
3.3.3. Cut
3.3.4. Copy
3.3.5. Paste
3.3.6. Delete
3.3.7. Select all
3.3.8. Go to line
3.3.9. Find
3.3.10. Special characters
3.4. Templates
3.4.1. Forms
3.4.2. Insert
3.4.2.1. Physical layout
3.4.2.2. Sorting the insert menu
3.4.2.3. Adding a separator
3.5. Render
3.5.1. Render
3.5.2. Pause
3.5.3. Abort
3.5.4. Sleep When Done
3.6. Batch
3.7. Window
4. Windows
4.1. Rendering options
4.1.1. Files & paths
4.1.2. Image & quality
4.1.3. Bounding & preview
4.1.4. Clock Settings
4.1.5. Misc
4.2. Editor
4.3. Message Window
4.4. Progress Window
4.5. Display Window
4.6. Batch Window
5. Template forms
5.1. General guidelines
5.2. Camera
5.2.1. Predefined camera
5.2.2. User defined camera
5.3. Light source
5.4. Object
5.4.1. Bicubic patch
5.4.2. Blob
5.4.3. Box
5.4.4. Cone
5.4.5. Cylinder
5.4.6. Disc
5.4.7. Height field
5.4.8. Isosurface
5.4.9. Julia fractal
5.4.10. Lathe
5.4.11. Parametric
5.4.12. Plane
5.4.13. Poly
5.4.14. Polygon
5.4.15. Prism
5.4.16. SOR
5.4.17. Sphere
5.4.18. Spheresweep
5.4.19. Superellipsoid
5.4.20. Text
5.4.21. Torus
5.4.22. Triangle / mesh
5.4.23. Graphical editor
5.5. Transformations
5.6. Functions
5.7. Pigment
5.7.1. Full color
5.7.2. Color patterns
5.7.3. Image map
5.7.4. Function pattern
5.7.5. Camera view
5.8. Finish
5.9. Normal
5.9.1. Normal patterns
5.9.2. Bump map
5.9.3. Function pattern
5.10. Interior
5.11. Media
5.12. Photons
5.13. Background, Fog, Rainbow, Sky sphere, Glows
5.13.1. Background
5.13.2. Fog
5.13.3. Rainbow
5.13.4. Sky sphere
5.13.5. Glow
5.14. Bump map
5.15. Color map
5.16. Density map
5.17. Image map
5.18. Material map
5.19. Normal map
5.20. Pigment map
5.21. Slope map
5.22. Texture map
5.23. Headers / includes
5.24. Global settings
5.25. Material editor / preview
6. Known bugs, things to do, ...
6.1. Known bugs
6.2. Things to do
6.3. E-mail, Snail-mail and internet

We made no contribution, other than bug reports, to POV-Ray™ itself. The program was created and is maintained by the POV-Team™. We can take no credit at all for it!

This unofficial compile is built using XCode 2.x and Cocoa.

We only developed the Macintosh specific parts. There are a few routines, mainly file and folder specific, copied from the original Macintosh compile. The official compile is maintained by Thorsten Froehlich. Many other people contributed by creating patches which expanded the possibilities of POV-Ray™.

The official version of POV-Ray™ for the Macintosh platform can be found at: http://mac.povray.org

E-mail concerning the official Mac-versions can be send to the POV-Team™:

Please, take a few moments to read the original POV-Raydocumentation! Following the rules and guidelines of the POV-Team™ will make sure that everyone can continue to enjoy this magnificent piece of freeware!

In the documentation, you will also find information about:

  • where to find more on POV-Ray
  • where to find the official compiles for Macintosh and other platforms (most existing platforms are supported!)
  • how and where to redistribute the software (copyrights, ...)

For a full explanation on POV-Ray™ it is recommended to read the POV-Ray™ manual (pov.doc) from the official compile. It contains all information on creating and rendering images.

The best way to learn about the rendering options is to get the POV-Ray™ manual pov.doc and print out the section on "POV-Ray™-options". The implementation of those options in POV-Ray 3.7 Unofficial is explained here but you will find it easier to follow when you have that section of the POV-Ray™ manual at hand.

To get a full package you need to download the official Macintosh compile. We only provide the unofficial application. Normally you already have the official compile and there is no need to download the same (huge) archive twice.

After you expanded the archive that you have downloaded at http://users.skynet.be/smellenbergh/, you will find a folder containing the application. It is possible that the docs are included in this folder, if not you can find them for download on our web site. Navigate to the download area.

We suggest that you put this folder somewhere separate from the Official POV-Ray™ compile.

Double-click the POV-Ray 3.7 Unofficial application () inside the MegaPOV folder. POV-Ray 3.7 Unofficial will start up showing two windows. The "Rendering Preferences Window" and "POV-Ray 3.7 Unofficial Message Window". At start up, this last window displays some information like the authors and an e-mail address you can use for questions on POV-Ray 3.7 Unofficial. Whenever you render an image, all information is displayed here. If there are any syntax errors in the scene, the file and line number will be displayed here too. So, whenever a scene will not render, you should look here to find out what is going wrong!

[Note] Note:
In case of a fatal error the text scene with the error is opened (also include files) or brought to the front. The cursor is placed at the line with the error. If you checked the option 'Select error line' the whole line containing the error is highlighted at the same time.

Now, let's put POV-Ray 3.7 Unofficial to work!

  • First we need to set some paths for the application. It needs to know where to look for certain files.

    Go to the menu "POV-Ray 3.7 Unofficial > Preferences..." to open the "POV-Ray 3.7 Unofficial Application Preferences" window. Next choose the tab 'System Includes'. Then, click the "Add" button and, in the file dialog, select the folder "Include" located in the POV-Ray™ folder of the official compile. Confirm with the "Choose" button. The path for the standard include files is now displayed in the list. Click 'Apply' and 'OK'.

  • Select 'Open...' from the 'File' menu, to open the file dialog.
  • Navigate to the folder "Scenes / Advanced" (still in the POV-Ray™ folder) and open the file "skyvase.pov".
  • A "Text Editor Window" with title 'skyvase.pov' appears. Use the button in the icon-bar at the top to get to the "Rendering Preferences Window". Note that the file name is now shown in the title bar.
  • Click the 'Files & Paths' tab. Note that the correct name and path of "skyvase.pov" has been copied next to 'Scene...'.

    The same name has been copied next to the 'Image...', but without the extension.

  • We need to choose 'Image & Quality' settings now, so click on that tab to bring that pane forward.

    In the 'Image Size' group, look for the pop-up with predefined sizes and select 240*180 for instance. Also set the "Image type"pop-up in the 'Output options' box to 'Don't Save Image'.

  • Click the "Render" button at the bottom and POV-Ray 3.7 Unofficial starts to parse your scene (Watch the "POV-Ray Message Window" for any messages: they include the raytrace-options, copyrights and warnings).

    It's a short scene and POV-Ray 3.7 Unofficial will not need much time to parse it. Unless someone has edited skyvase.pov on your computer, the scene file itself will be free of errors. So, you should not see any errors or warnings unless you don't have enough memory or did not complete the previous steps.

    After a few seconds the "Display Window" is opened and the image is rendered. Notice the window title 'skyvase (Not Saving)' which tells you what scene is being rendered and with what name (or if) it is being saved.

    In the "Display Window" you may have noticed a few rectangles. They show the bounding boxes of the objects in the scene and give you some idea about their location. Red lines show the bounding boxes of single objects, blue lines are used for CSG-objects like intersections or differences. POV-Ray 3.7 Unofficial is now rendering the scene line after line. After a little while the image window is completely filled.

    In case you start looking for the image file of this scene, there isn't any! The image is not written to disk because the preferences are not set to do so (remember; we have set the image type to 'Don't Save Image'); we don't want an image file at this point.

  • If all went well, you can do some more tests with the demo scenes from POV-Ray™, located in the "Scenes" folder. It is sufficient to select the files in the 'Files & Paths'' dialog. The preferences from the previous run are adequate for most cases.

This is where some general preferences of POV-Ray 3.7 Unofficial can be set.

This pane contains all settings that will alter the display of the source file in the "Text Editor Window".

Syntax Color: This group enables syntax highlighting, which displays the scene source text in different colors for different scene description language elements. Simply click on a color and the standard color picker dialog will appear. You can set the color to whatever you like. Of course, since the background color is white, you should not set any text elements to white or other faint colors.

Tab size: Tabs are an important feature to make scenes more readable and they will give scene source display a better structure. With this setting you can set how many spaces to the right the text will be moved when it contains a tab character.

Maintain indentation: When set, newly inserted lines start with the same indentation as the previous line.

Select font: Choose the font to be used for a new text or any text you open. The current font and size are displayed here.

Insert Folder: Choose the main folder for the "Templates >> Insert" menu.
Also see
Section 3.4.2, Insert.

Point: The decimal point used in MegaPOV is a point. When your system writes a comma with the numerical block on the keyboard, this might be inconvenient. Here POV-Ray 3.7 Unofficial can be forced to use the desired point. With 'System' the system is followed. With either 'Comma' or 'Point' POV-Ray 3.7 Unofficial is forced to use your choice.

This pane lets you set paths where POV-Ray™ should look for include files, images, fonts, macros or whatever you use often. Click 'Add' to select a new path for a folder. 'Delete' removes the selected line. 'Change' opens the file dialog to replace the selected path.

[Note] Note:
POV-Ray™ does not look into nested folders for include files. Either add a path to the nested folder or bring all files to the root folder selected in the path.

Another possibility is to specify the nested folder in your source like: ( "/nested_folder/file.inc" )

It's a good idea to select the "include" folder of POV-Ray™ as the first additional path, since most existing scenes and scenes you will create use include files like "colors.inc", "textures.inc",... They are all located in the "include" folder that came with the POV-Ray™ archive.

Display gamma. By default a display gamma of 1.8 is passed on to POV-Ray 3.7 Unofficial. Sometimes your monitor is set to a different gamma than the standard 1.8 for Macintosh. With this option on, it is possible to pass on the real gamma of your monitor.

POV-Ray 3.7 Unofficial remembers the last 10 files which have been opened. The most recently opened file is displayed at the top of the list.

Selecting a file from the list will open it.

When the 'Global settings' or 'Material' template is opened, previously saved settings of the sub-panels can be loaded.

Selecting the appropriate file in the file dialog will load the parameters.

When the 'Global settings' or 'Material' template is opened, the settings of the active sub-panel can be exported and saved. The file dialog is opened to save the parameters for later use.

Closes the front-most (active) window.

Saves to disk the contents and settings of the front-most (active) window.

Different icons are assigned to files that are saved:

  • : For text files ending with .pov (scenes, ...)
  • : For text files ending with .inc (includes, ...)

This opens the file dialog to the enter name and path for the file you would like to save.

Resets the editor to the last saved state.

Opens a dialog to set printer page preferences. This depends on your printer driver, so check the printer manual.

Print a text file.

3.3. Edit

Will go back to the previous state.

Ignore the last undo.

The usual stuff.

The usual stuff.

The usual stuff.

The usual stuff.

The usual stuff.

Move the cursor to a specific line in the text.

Search for a specific keyword or sequence of characters in the "Text Editor Window". You can also choose to replace a found word with another one.

If it doesn't matter whether capital or lower case letters are used, set the 'Ignore Case' option.

With the option 'Wrap around', the search begins at the cursor and, once the end of the file is reached, begins again at the top of the text.

To replace all instances of a set of characters with another set, click the "Replace all" button.

Click the "Replace" button to replace only the selected item.

Clicking "Next" Will start the search again, beginning after the selection.

Opens the "Character palette" to look for a specific character or unicode you need.

3.4. Templates

This menu contains items pertaining to all the major elements of the scene description language.

POV-Ray 3.7 Unofficial has a series of built in template forms. Selecting an item from the submenu will open a dialog. In these dialogs all parameters concerning that particular item can be entered in edit fields or set through pop-ups and check boxes. Only the required parameters (conflicting parameters can not be used together) are written to the scene file in a clean and orderly syntax (indenting and tabs at the right places). The last used parameters are also remembered when returning to the dialog, making an adjustment very easy.

It is also possible to save different settings for each template, so that you can built a personal library of settings.

Most dialogs follow the POV syntax and are self explanatory. There is also an extensive Balloon help. For more explanation on some specific parts of the dialogs, see Chapter 6, Template forms.

The Insert menu allows you to insert header sections, object definitions, etc. into a file you are editing with the internal editor, with only a few clicks of your mouse. It is only visible if you have selected an editor window. This system is now equal to the one used by the official Windows version of POV-Ray and therefore that directory can be used.

[Note] Important:
The path to the main insert directory is set in the application preferences dialog, see Section 3.1.2, “Preferences...”.

3.5. Render

This menu contains items related to the rendering process.

Starts POV-Ray™'s rendering process. First the scene file is parsed (progress can be followed in the "MegaPOV Message Window") and then the image is displayed in the "Display Window" (that is, if the 'Don't display image' option isn't set).

'Start Rendering' (and also the shortcut command-R) only works if a "Text Editor Window" or the "Rendering Preferences Window" is in front.

[Note] Important:
When a "Text Editor Window" is in front, that file is rendered, and NOT the one set in the "Rendering Options Window". This avoids overwriting a previous render.

Allows the user to temporarily pause the rendering process.

Another possible way to pause is to use the  button in the "Display Window". Clicking a second time on it will continue the rendering process.

This item will stop a render job.

If you aborted a render job and were saving the image to disk, you could go on with the rendering from the point where it was halted, if you set the 'continue rendering' option in the 'Output options' box on the 'Image & Quality' panel of the "Rendering Preferences Window" before you render again.

Another possible way to abort rendering is to use the  button in the "Display Window".

This item will put your computer to sleep when the render job is done.

3.6. Batch

"Show" opens the batch window.

"Add". Add a rendering job at the bottom of the list.

"Insert". Add a rendering job in the list just before the selected line.

"Remove". Delete the selected job in the list.

"Reset Selected". Resets all selected jobs to be ready for rendering.

"Reset All". Resets all jobs to be ready for rendering.

"Run All". Will render all jobs in the list.

"Run Selected". Will render all selected jobs in the list.

"Abort". Stops all jobs in the batch.

3.7. Window

This menu contains an item for each POV-Ray 3.7 Unofficial window displayed. Selecting one of these items brings the corresponding window forward to the front.

There is a checkmark (√) beside the item for the frontmost window.

'Render Preferences' stands for the "Rendering Preferences Window" where all the options concerning the render can be found.

'Message Window' stands for the MegaPOV window where all messages, warnings, statistics and progress of the render will be displayed.

'Progress Window' stands for a little window where progress is written to. This is useful if you have a small monitor.

Under the dividing line, all opened "Text Editor Window"s are shown with the file's name. If there is an opened "Batch Window" it will also be shown. The "Display Window" is shown with the name of the image file, followed by the file type (PNG, TARGA, or NOT SAVING ).

Chapter 4. Windows

Table of Contents

4.1. Rendering preferences
4.1.1. Files & paths
4.1.2. Image & quality
4.1.3. Bounding & preview
4.1.4. Clock Settings
4.1.5. Misc
4.2. Editor
4.3. Message Window
4.4. Progress Window
4.5. Display Window
4.6. Batch Window

The most important dialog of the program! All rendering options are set here! This window is always opened after the program has been started. If not so or when it is in the background, you can bring it to the front through the menu 'Window >> Preferences for: xxx'. It can also be brought to the front by clicking the button in the tool bar of the "Text Editor Window".

All options are available via this one window and are subdivided into five categories, each accessible through tabs. The five groups are: 'Files & Paths', 'Image & Quality', 'Bounding & Preview', 'Clock Settings' and 'Misc'. Once you get more familiar with the layout of this window, you will quickly see if all options are appropriate for a specific rendering.

At the bottom of the window some buttons are available.

The "Save current settings..." pop-up lets you save all preferences (except input and output path) set at that time. The saved preferences become then available to replace all options whenever you select them from this pop-up. The saved preferences are also available for jobs added to the batch. It is of course also possible to edit the saved options, or to reset them to the defaults.

The "Edit Scene File" button opens the scene file which is shown in the 'Scene file path' of the 'Files & Paths' panel.

When you have set all preferences, you can render the scene by clicking the "Render" button. The options set will only be used for this render (the options are not saved to disk, only remembered until the next changes). The only way to save the options to disk is with the "Save current settings..." pop-up at the bottom of the window.

Language: The pop-up menu "Scene Written For Version:" contains the settings for the "+MV" Max Version command line switch for POV-Ray™. This determines what version of syntax POV-Ray™ will initially expect when parsing a scene. If this is an older version of a scene file, you can set its version here. You can also insert a "#version" directive in the scene file itself, which is preferred, since it will then be carried across to other platforms.

[Note] Important:
This version renders filter as filter and transmit like transmit. However if you want to render older scenes with layered textures and filter you should use version 3.1 to get the old results.

Below the version pop-up you can select an input scene file, output image and an ini file. When you select an input file with the extension "xxx.pov", the name of the image output file (image) is set to "xxx." e.g. "Scene.pov" becomes "Scene.".

The proper extension will be added at rendering time, according to the type (TGA, PNG,..) you selected in the 'output options' of the 'Image & Quality' pane.

An ini file can also be selected. It will be passed on to POV-Ray™ as a last option so that any option set in the "Rendering Preferences Window" will be overwritten by the options in the ini file. That is: if that option is set in the ini file. An ini file must not contain 'all' options.

Also, when the ini option is set, a green indicator will become visible above the 'Files & Paths' tab. This way, you will know at a quick glance if this option is set; even when another pane is active.

Files (like include files or image files) that POV-Ray™ needs to render a scene need not necessarily be located in the same folder as the scene file. However, you must tell where POV-Ray™ should look for them.

There is one folder where POV-Ray™ always looks; the folder where the scene file is located. This path is automatically shown at the previously mentioned scene input button. It changes every time you select another input file.

In the "Application Preferences Window" on the 'System Includes' tab (see Section 3.1.2, “Preferences”), additional paths can be selected where POV-Ray™ should look for include files, images, fonts, macros or whatever you use often. This is meant for the folders with collections of files that are often used.

Finally, POV-Ray™ looks a last time for search paths which you selected with the option 'Set search Paths for additional include files'. This is meant for files specific to the rendering scene.

A path is emptied by clicking the "Clear" buttons, located on the right side of every path.

All options related to the size, type of output file and rendering quality are set on this panel.

In this group you will find 4 more fields: Start- and End-columns (top) and Start- and End-rows (bottom). Values entered here will cause POV-Ray™ to create an image with the full size shown in the 'Image size' frame, but will only render the area specified in the fields of the 'Partial Image' frame. When creating a time consuming scene, this 'clipping' will speed up the time necessary to calculate the required image part you are designing on, because only the selected part will be calculated and rendered.

Whenever you select another image size from the pop-up or enter the values manually, the partial image size is set proportionally to the newly specified size. Because it is also possible to specify the partial image directly in the image window by dragging it (use the cut option ), this means that you could render a small image at low quality, select the partial image and then change the size to a large image at high quality. The partial selection has now been adjusted to the new size in a proportional way. This way it is possible to reduce the rendering time considerably if you want to check only a small part of the image at a high resolution.

Normally only the selected part of the image will be rendered, but shown in a "Display Window" with the full sizes specified in the 'Image Size' frame. The background will be white. If you only want to see the rendering area, set the 'Only Display Part' option in the 'Output options' frame (Display Options).

Do not forget to use the "Set to Full Size" button if you no longer want to render a partial image!

[Note] Note:
When you render a partial image and are saving to disk, the first line in the image file will be the first line that is actually rendered (the 'Start Row'). The first lines which are not rendered are not saved and therefore you can not continue an image when you didn't start at the top line of the image!

In the "Image type" pop-up you select the type of image that will be written to disk. Choices are:

Don't Save Image:   No output is written to disk, only to screen;
Targa:   Writes an uncompressed targa file;
Targa Compressed:   Writes a compressed targa file;
PNG:   Writes a file in PNG format;
PPM (unix):   Writes a PPM file;
hdr:   Writes a "high dynamic range" file;
[Note] Note:
Whenever you select an input file in the 'Files & Paths' panel, and do not select manually an output file, the correct extension will be added to the output file accordingly to the type you select here! (.tga, .png, .ppm)

If you have chosen 'Don't Save Image', some options of this frame are disabled. (Only 'Write ini-file' and 'Only Display part' are accessible).

The bit depth of the image can be set through the "Bit Depth" pop-up. Only the possible bit depths with the chosen file type are enabled.
It varies from 5 to 16 and is set through the pop-up. The higher, the more colors your image will contain. 8 (true color = 16 million) is quite enough.

'Add Alpha Channel'. When you have selected 'TGA' or 'PNG', you can choose if the alpha transparency data is output to the file (Please read the POV-Ray™ documentation for more information).

'QT Movie'. When selecting this option, a series of rendered images is saved as a Quick Time Movie. Via the 'Set Compression' button, additional compression options can be set.

Whenever you turn the 'Write Ini-file' option on, POV-Ray™ will write (when you start rendering) an ini-file, located in the same folder as the input file. In this file, all preferences are written. On the Macintosh this ini-file is not very useful since rendering options can be saved when you have the "Rendering Preferences Window" in front. However, it is the only way to let someone with another platform render your image with your options, without having to type all these options.

'Don't Display' means that the rendering image is not shown on the screen. The image is only saved to disc and you are not able to see the results on the screen. This could speed up rendering in some cases and might be useful to render the batch file overnight.

[Note] Note:
If you should decide you do want to see the result on screen, you have to abort rendering. Then go to the "Rendering Preferences Window", disable the option 'Don't Display' and set 'Continue Rendering'. Then render again: Rendering will go on from the point where you aborted the rendering and it will be displayed on screen this time.

'Only Display Part'. When this option is activated AND you selected part of the image to be rendered as a partial image, only the selected part will be shown, filling the "Display Window" completely. When the option is turned off, only the selected part is rendered, but shown relative to the complete image. Note that this affects only the displayed image: the saved image will always be the complete image.

While rendering, you can always abort. If you were saving your image to disk, it is possible to continue the same image from the point were it was aborted. Simply select 'Continue Rendering' in the dialog and POV-Ray™ will continue to render the missing part of the image, making a total image.

[Note] Note:
Sometimes when you have selected the output type 'PNG' POV-Ray™ can not continue an image. The reason is: a temporary file is not deleted. Check for this in the "MegaPOV Message Window" and when this is the case, delete one of the two files. They are both located in the same folder.

"Comment / Undo-comment". With a click on the button, the '//' characters will be placed before each line of a selected block of text. All these lines will thus be read as comment lines by POV-Ray™. With a click on the button, the '//' characters preceding a line in a selected text block will be removed.

"Shift block". With the and buttons, a selected block of text can be moved one tab to the left or to the right with each click.

"Check braces". To do so, use the button in the tool bar of the "Text Editor Window". First, put your cursor before an opening or closing brace - { ( [ ] ) } - or select that brace. When you then click this icon, the text between the two matching braces will become selected, quickly showing you where the start and end of that scene file block are. It also checks if any nested braces are matched. If no matching brace is found it will beep.

Another possibility to check the braces is to double click on a brace: the scene file block between this brace and the matching one is highlighted.

"Set Up". Clicking on will bring the "Render Preferences Window" to the front, allowing to change or check some rendering preferences before actually rendering the scene.

"Render". The button transfers the name and path of the text file to the "Render Preferences Window" and puts the rendering engine to work! All current options set in the window of rendering options are transmitted to POV-Ray™. Most menu's will be disabled.

Typing text in the "Text Editor Window". This follows most common rules of any text editor. A few things that makes it easier to use for POV-scenes are:

"Go to line". At the bottom of the editor's window there is a field to go to a specific line in the text. It shows the line where the cursor stands on. Overwrite it and click enter to jump to a required line.

This window shows all messages and warnings.

At startup, there is a bit of info on the system.

When rendering, more information shows: the version of MegaPOV used, authors and contributors, libraries used, rendering options and paths. All this information is shown in blue text.

Also all text streams (debug, warning, fatal, statistics and render) directed to screen are displayed in this window.

Statistics are colored violet. Fatal errors and important warnings are shown in red. Warnings and reminders use geen text and debug streams are displayed in black.

In the bottom status bar, progress on parsing and rendering is displayed.

This window shows the same progress as shown in the bottom status bar of the message window.

Open the window via the Windows Menu.

This window displays the rendering image.

[Note] Note:
If an image is larger than 4092 pixels, the display is scaled down. The output is not affected.

At the top you will find the name and image type of the scene which is rendering. When not saving to disc, it is also mentioned in the window title.

A possible way to abort rendering is to use the button at the top right of this window.

To pause rendering, use the button on the display window. Clicking a second time on it, will continue the rendering process.

With the alpha button you can toggle between displaying the alpha_channel or not. When it is on, any part of the scene that has partial or full alpha-channel transparency will be displayed as a grayscale checkerboard showing through the scene. This could slow down rendering slightly in some cases. To turn this feature off, click the "Alpha-channel"-toggle to turn it off.

It is possible to specify the partial image directly in the image window by dragging it (use the cut option ). The selection is shown with a marquee and the coordinates of the partial image are shown on the pane next to this button. When releasing the mouse button the "Render Preferences Window" is brought to the front. So you still have the opportunity to change to a larger image size: the proportions of the partial image will be adjusted to the new size.

Depending on the type of computer you are using, rendering a scene can take quite a while! When using a batch job, you can create (write) a few scenes and let them render automatically. This could be done during the night or at a time when you normally won't use your computer. (Don't leave the Image Type at 'Don't Save Image' in the "Render Preferences Window" for each entry in the batch, or else you will not see the results in the morning :-) )

To open the batch window, go to the menu "Batch > Show".

To add jobs to the batch, drag a ".pov" file on the list. You can also use "add" from the Batch menu or the add button at bottom of the window to open the file dialog. Using the insert button at bottom of the window will add a job just before the selected line. Repeat this for all other scenes that should be rendered.

Newly added jobs get the status 'Queued' and the render preferences from the "Render Preferences Window". This is marked in the 'Setting' column as 'Current default'.
For different render preferences, choose from the "Settings" pop-up. This pop-up menu contains all preferences which have been saved previously in the "Render Preferences Window". Select one or more jobs in the usual way and change the default settings all at once with the desired ones from the "Settings" pop-up.

When running the batch file there are a few possibilities in the 'Status' column:
 -Before rendering, all jobs in the queue and marked 'Queued' (Black);
 -The scene that is being rendered is marked 'Rendering' (Orange);
 -All queued jobs are now 'Waiting' for rendering (Violet);
 -Every scene that was rendered successfully is marked 'Complete' (Blue) and disabled;
 -A batch job can be aborted and run again later. The job that is partially rendered is marked 'User Abort' (Green);
 -If an error should occur, it will be marked with 'Fatal Error' (Red);

When the batch file is run again, the scenes already done will be skipped. The aborted ones will continue from the point where they have been aborted.

When clicking the "Reset All" button, all scenes are marked as not rendered and will be processed again when the batch is run again.

[Note] Note:
There is no limit (except memory available) on the number of entries in the batch list, but only the ones with a marked checkbox are actually used to run the batch.

It makes things a bit easier when you are creating a few scenes simultaneously. Modify your scenes, reset the Batch File, tick the ones you want to run and click the "Run All" button. Do this over and over until your scenes win some awards :-).

Changing the order of the list is done by simple 'drag and drop': move the selected entry up or down the list.

"Run" is intended to run only the selected jobs. Select the lines for the required jobs in the list.

"Reset" rests all selected jobs to the status 'Queued'.

"Skip" aborts the current job and moves to the next in the list.

Chapter 5. Template forms

Table of Contents

5.1. General guidelines
5.2. Camera
5.2.1. Predefined camera
5.2.2. User defined camera
5.3. Light source
5.4. Object
5.4.1. Bicubic patch
5.4.2. Blob
5.4.3. Box
5.4.4. Cone
5.4.5. Cylinder
5.4.6. Disc
5.4.7. Height field
5.4.8. Isosurface
5.4.9. Julia fractal
5.4.10. Lathe
5.4.11. Parametric
5.4.12. Plane
5.4.13. Poly
5.4.14. Polygon
5.4.15. Prism
5.4.16. SOR
5.4.17. Sphere
5.4.18. Spheresweep
5.4.19. Superellipsoid
5.4.20. Text
5.4.21. Torus
5.4.22. Triangle / mesh
5.4.23. Graphical editor
5.5. Transformations
5.6. Functions
5.7. Pigment
5.7.1. Full color
5.7.2. Color patterns
5.7.3. Image map
5.7.4. Function pattern
5.7.5. Camera view
5.8. Finish
5.9. Normal
5.9.1. Normal patterns
5.9.2. Bump map
5.9.3. Function pattern
5.10. Interior
5.11. Media
5.12. Photons
5.13. Background, Fog, Rainbow, Sky sphere, Glows
5.13.1. Background
5.13.2. Fog
5.13.3. Rainbow
5.13.4. Sky sphere
5.13.5. Glow
5.14. Bump map
5.15. Color map
5.16. Density map
5.17. Image map
5.18. Material map
5.19. Normal map
5.20. Pigment map
5.21. Slope map
5.22. Texture map
5.23. Headers / includes
5.24. Global settings
5.26. Material editor / preview

These are accessible from the 'Templates' menu or through the "Templates" pop-up in the "Text Editor Window". Pick the item you want to enter at the cursor position in your source scene and a dialog will open.

[Note] Note:
Since this compile is a multi-patched version, all items corresponding to an added patch feature are marked with an asterisk (*) or are shown in blue. This way it is easy to make the distinction between features of the official POV-Ray™ and our patched Unofficial compile.

The dialogs are usually self-explanatory:

  • The options are defined by POV-Ray™'s legal keywords: these are explained in the POV-Ray™'s documentation or the keywords added in MegaPOV which are explained in the manual for the patches.
  • If a vector entry is required you are presented with two, three or four edit fields where the coordinates can be entered. Example:

    Often you can specify the kind of vector you want through a pop-up (all coordinates equal; parallel to one of the main axis; or all entries different) which allows you sometimes to type only one coordinate instead of three;

  • If the entry should be a float or integer value, only one edit field is presented;
  • When there is a choice between several keywords, a pop-up presents the possible choices;
  • For items which are optional, a check box is provided where you can turn them on and off. If a value should be specified, an edit box will appear as soon as the check box is turned on;
  • Whenever a color has to be specified, a color field is shown. Clicking on this will open a color dialog. Enter the Red, Green and Blue components in the edit fields. The change in color will immediately be displayed in the field next to it. Clicking on the display field opens the system's color picker, where you can set the desired color. If you want no hue, but only a gray-value, use the "=" toggle button. The value entered in the edit field for "Green" will specify the gray density.
  • The "Reset to default" button will reset all edit fields and pop-ups to the default values (usually POV-Ray™'s defaults) and switch most options off.

    [Note] Note:
    To create your own defaults, enter all values in the template and go to the "Save" button at the bottom of the template. The file dialog will open, so that the settings and values of the template can be saved. It is up to you to enter a significant name and save it. When opening the template again later on, go to the "Open" button and choose your default set from the file dialog where you have saved it before. Your defaults are now entered in the template.
  • Clicking the "Cancel" button closes the dialog, nothing is written to your scene text and all changes to this dialog are 'forgotten';
  • Hitting the "OK" button will write all entries to your scene text in a correct MegaPOV syntax and formatted with tabs. When the dialog is opened again, it will show all entries and options that were set when you last clicked "OK".
  • All dialogs have extensive tooltips help. Place the cursor over a mysterious item. A text balloon appears with some explanation. If it doesn't answer your question, you will have to look at the official POV-Ray™ docs or the docs about the MegaPOV patches for more explanation!

  • The values entered in each template dialog can be saved, and later be loaded again. This way you can create libraries of popular template values. To do so, use the "Save" and "Open" buttons at the bottom of the templates.

    It is best to make a backup of these files when you have saved a number of template sets. This version of the template library should be regarded as a beta version, likely to change a bit in the next version - but we will consider the possibility to convert to the next system.

    [Note] Note:
    The values on nested panels (other templates called from the main template) are saved as well. If you need the values of nested panels, you have to make sure they have been turned on. If you do not want to save the content of the nested panels, then check if they have been turned off.
  • Since most dialogs are self-explanatory, only the dialogs that may raise questions or which have unusual options will be treated here.

The camera template consists of two panes. One tab opens the classic predefined cameras. The other tab opens a pane where the user can define his own camera projections.

Reading the introduction on Template forms (see Section 5.1, “General guidelines”) should clear any problems here.

This opens the object's template to choose an object from the "object" pop-up men (listed alphabetically).

Options that will show for most objects when appropriate are:

  • Adding material, transformations and/or photons to the object.

    Material: This will write a material {...} statement with the current content of the material editor. When clicking the edit button, the material editor is opened so that it can be checked or edited. The content of the material can be changed later on in the editor: either using the material, pigment, finish, normal or interior template forms or typing it manually.

    Transform: This will write a transform {...} statement with the current content of the transformations template. When 'ignore material' is checked, the transform block is written before the material, so that it isn't affecting the objects' material. When clicking the "Edit" button, the transformation template is opened so that it can be checked or edited.

    Photons: This will write a photons {...} statement with the current content of the photons template. When clicking the "Edit" button, the photons editor is opened so that it can be checked or edited.

  • Object controls:

    For some objects the closing endcaps can be removed. Ticking the "open" keyword will do so if available for that object. Some objects need the keyword "sturm" for more accurate rendering. When this is the case, it will show, so that it can be set. Objects allowing uv-mapping will show the 'uv_mapping' checkbox. When set, the keywords "no_image", "no_reflection", "no_shadow" and/or "double_illuminate" are added to the object. When using an interior with an object or when a camera is inside an object, you should always add the "hollow" keyword to that object to get correct results.

Hit the "Edit..." button to open the "Graphical Editor Window" where you can create your prism base profile. The options of this graphical editor are explained in a separate chapter (see Section 5.4.23, “Graphical editor”), since it is also used for the lathe, polygon and SOR objects.

After confirming the profile with the "OK" button, select the sweep_type and heights for the prism object.

When choosing the linear_sweep, you could use the 'Bevel prism' option. From the prism, a specified fraction of its height will be beveled. The total height of the prism will not change. For a 'fraction of height' of 1/2, the top half of the prism is beveled. 1/10 will bevel one tenth of the prism height. With the 'angle' option the beveling angle is specified, measured from the prism's axis.

[Note] Note:
this angle will only be used for the widest point of the prism. For points closer to the axis, the beveling angle will become smaller. At the center of the prism the angle will be zero.

When choosing the conic_sweep the base profile is scaled while being swept between base_height and top_height. Only at height 1.0 and -1.0 the profile gets its real dimensions, growing rapidly in size beyond these points. If you want the original dimensions of the base profile at the specified base_ or top_height use the 'keep dimensions' option: the size of the profile is then kept constant while being swept along the y-axis.

The "Graphical Editor Window" is opened from the template forms of the objects lathe, polygon, prism and sor.

It presents you with a graphic display on the left of the window and a list of points on the right side.

With the 'Background Image' option you could load or remove an image from the display. With the pop-up item 'Load' you select an image (normally all types supported by your Quickdraw version) that will be displayed as a background on the grid. With this option you could easily copy curves from images that have been generated or scanned through other programs. There are however a few things you should keep in mind:

  • The image is centered and fits with its largest side in that grid.
  • Since the graphical editor has a resizable window, the background image is enlarged with the window. So, for precise work, an image with a higher resolution is recommended.
  • Because the overlaying profile line consists of blue, red and green colors it is a good idea to use light gray images as background. With the 'Grayscale' item of the pop-up, the image can be converted to a grayscale background. When the background image is too dark, use the 'Brighten' item in the pop-up. Every time you select this option the image is brightened a bit. Repeat this until you get the right density. To darken the image, use the 'Darken' option.

If an image is loaded, a toggle button will be visible and can be used to show or hide the background image.

There are a few tools to position the background image.

  • The 'Zoom' slider lets you zoom into the image part at the center.
  • The 'Size' slider lets you enlarge the image while the lower left corner remains in place.
  • With the 'arrows', the image can be moved to position it at the desired spot.
  • The 'crosswire' lets you quickly reset the image's lower left corner.

With the 'Remove' option the image can be removed (the toggle button disappears also). When the graphical editor is closed, the image is also removed.

All points can be selected with a mouse click and dragged around while holding the mouse button. Selecting multiple points is done by holding the shift-key, when selecting or de-selecting points. The selected points are highlighted by a black circle surrounding it. When releasing the mouse button, the actual coordinates of the points are fixed and are shown in the selected lines of the list of points.

[Note] Note:
  • Since POV-Ray™ does not allow negative x-values for the SOR and lathe (except first and last point), you can not drag a point to the left side of the y-axis!!
  • To avoid gaps between two segments of a bézier spline, the endpoint of one segment is always linked with the starting point of the next segment. They are always dragged together.
  • To get smooth transitions between segments of a bézier spline the endpoint of one segment, the starting point of the next segment and the control points at these points should always be on a straight line. Therefore, when dragging a control point (green), the opposite control point is also moved together to stay on that line. (Except for the lathe when it risks to get a negative x-value: it will be unable to cross the y-axis). In the same fashion, when moving a point (red) around, the slopes of the curve at that point are locked and the control points will follow the same move. (Except for the lathe when it risks to get a negative x-value: it will be unable to cross the y-axis). If you want to create a sharp edge in your curve, you can force it by holding the ALT-key when selecting (point or control point) and dragging. Only the selected point moves with the cursor, all other points stay put.
  • The SOR object can not compute more than one x-value for each y-value. Therefore, when trying to drag a point below the previous point or beyond the next point the dragging is blocked. If your profile line (blue) is disconnected, move a little back or adjust the height of the other points.
  • This editor is designed to create unit sized objects. So, keep in mind to use values between 0.0 and 1.0. Sometimes however a point might get off the display and not been selectable anymore. The graphical editor has a re sizable window: try resizing it to the greatest possible width and smallest height or vice versa to recover lost points. If this fails, use the edit fields to get the values back into the 0.0 to 1.0 range.

To the right hand side a table of edit fields with the coordinates of the points is shown.

  • The first column shows the kind and number of the point. Successive points of the profile are numbered from 1 to n. Control points are designated by a capital "C". An "s" means start and "e" means end. For bézier splines the numbers increase for each next segment. Segment n starts with "Sn", "Csn" controls the curve at Sn, "Cen" controls the curve at En, and "En" is the last point of segment n.
  • The second column gives the x-location from the origin. Notice that this editor has been designed to create unit sized profiles: therefore, use entries between 0.0 and 1.0. Later on it is easy to scale it to the required size. To move a point, select the corresponding edit field and edit the value in the usual way. The point follows immediately on the display. POV-Ray™ does not allow negative x-values for the SOR and lathe objects (except first and last point). Therefore, when you enter negative values the editor replaces them with 0.0!!
  • The third column gives the height (y for polygon, lathe and SOR) or depth (z for prism) from the origin. Notice that this editor has been designed to create unit sized profiles: therefore, use entries between = 0.0 and 1.0. Later on it is easy to scale it to the required size. To move a point, select the corresponding edit field and edit the value in the usual way. The point follows immediately on the display. The SOR object can not compute more than one x-value for each y-value. Therefore, when you enter a value lower than the previous point or higher than the next point the editor replaces them with a legal limit value.
  • Select a point by clicking on one of the edit fields. The selected point is highlighted with a dark frame and the edit field with a blue frame.

The use of each panel individually should be obvious.

[Note] Note:
Only the transformations on active panels (set check box) are written to the text at the cursor's position. Three transformation items can be inserted at once (in the sequence shown on the template form).

Choosing the function template opens a dialog which allows the user to select a function and read a description. After entering the desired parameters and confirming, the function is written at the cursor's position in the text (or replaces the content of a selected block).

Functions can be chosen by type from the "types" pop-up.

In the next list, an overview of syntax and result is shown for the chosen group of functions. When a function is selected in the list, its description and possible parameters with description are shown in the next frame.

In the last frame, edit fields are shown for the required parameters. They can be filled out here.

Clicking "OK" will write the function to the text or function field.

At the bottom you can go directly to the transformations template to set up to three transformations if required. You could also choose a quick color from the color template by activating the option and clicking on the display square. At the very bottom the option 'don't wrap in pigment{}' lets you substitute certain parts (a color vector for instance) of a pigment statement in the text.

The 'don't wrap in finish {...}' option allows you to add or replace parts of the finish statements because only the selected options are written at your cursor's position. The finish keyword and its brackets are omitted.

At the bottom of the dialog you could go directly to the transformation dialog to set up to three transformations if required. Here you can also set the 'no_bump_scale' and 'accuracy' options.

At the very bottom the option 'don't wrap in normal{}' allows one to substitute certain parts of a normal statement in the text.

For a full explanation of all options used in the media statement, please read the POV-Ray™'s docs.

Media can be used as an atmospheric effect or inside an object when written in the interior {} statement. For the last option you get access to this media template from within the interior's template form.

For density you could use any legal pattern. With the "Edit pattern..." button the pigment template is opened so that a pattern can be edited. The usage of each pattern is explained in POV-Ray™'s docs and shouldn't cause any problems in that template dialog. Choose any of the list patterns (brick, checker, hexagon or object) or other density pattern. After confirming you will be back to the media template.

After reading the chapter on photons in the POV-Ray™ manual, this panel shouldn't cause any problems.

For more information, see Section 5.9.2, “Bump map”.

Through the color_map dialog you can design your own color_map and see the result immediately on the display (only the color is displayed: there is no visual control yet for filtered or transmitted transparency ).

The height of this dialog is re sizable to show more lines if your screen's resolution allows for it.

To add a point at the end of the list, use the  button. The last line will be duplicated. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. The inserted line gets the average value of the lines between which it is inserted. You may insert up to 256 lines.

[Note] Note:
If your last created color_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

For each entry line, the specified color is displayed in the 'Color Picker''s column and changes are displayed immediately. You may also click on the displayed color to open the system's color picker and set the desired color.

If only a grayscale map is needed, use the "Use Gray Color" button just above the Red, Green and Blue columns. The values entered in the Green column are then used for all three colors.

If anywhere a filter or transmit value is needed, you should click the "Filter" or "Transmit" buttons above these columns. If these buttons are not highlighted, filter or transmit will not be written to your color_map.

The density_map dialog shows two columns.

In the first one the location of the density pattern is entered.

In the second column the name of a previously #declared density can be typed. It is also possible to type the body content (without the wrapping density { }) of a legal density statement. However, the number of typing characters is limited to 256 and must all be written on one line (No returns or tabs).

To add an entry at the end of the list, use the  button. The last line will be duplicated. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. Only the location of the inserted line gets the average value of the lines between which it is inserted. You may insert up to 256 lines.

[Note] Note:
If your last created density_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

For more information, see Section 5.7.3, “Image map”

Now it is possible to use an image that will be created by POV-Ray™ and then immediately used as image for the material_map. The image to be used can be a 'function image', 'pigment image' or 'pattern image'. The pigment and pattern images can be called upon with the "Edit pigment ..." or "Edit pattern ..." buttons.

Image width and image height are the dimensions of this image in pixels. See the chapter on patterns in the POV-Ray™ manual for more information.

The "Select image..." button opens the file dialog so that you can search for the image you had in mind to wrap around the object. After selecting the file and clicking "open", the exact name of the file is copied in the edit field. Of course you can always enter the name directly in the edit field.

Don't forget to specify the kind of image file you are using. When using "sys", all image types recognized by QuickTime™ can be used - so you are not limited to the types allowed by POV-Ray™.

The material_map dialog shows two columns.

  • The first one is showing a counter with index numbers.
  • In the second column the name of a previously #declared texture can be typed next to the index number where it should be assigned to. It is also possible to type the body content (without the wrapping texture { }) of a legal texture statement. However, the number of typing characters is limited to 256 and must all be written on one line (no tabs or returns are allowed).

To add an entry at the end of the list, use the  button. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. All following entries will be moved to the next index value. You may insert up to 256 lines.

[Note] Note:
If your last created material_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

The normal_map dialog shows two columns.

  • In the first one the location of the normal pattern is entered.
  • In the second column the name of a previously #declared normal can be typed. It is also possible to type the body content (without the wrapping normal { }) of a legal normal statement. However, the number of typing characters is limited to 256 and must all be written on one line no tabs or returns are allowed).

To add an entry at the end of the list, use the  button. The last line will be duplicated. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. Only the location of the inserted line gets the average value of the lines between which it is inserted. You may insert up to 256 lines.

[Note] Note:
If your last created normal_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

The pigment_map dialog shows two columns.

  • In the first one the location of the pigment pattern is entered.
  • In the second column the name of a previously #declared pigment can be typed. It is also possible to type the body content (without the wrapping pigment { }) of a legal pigment statement. However, the number of typing characters is limited to 256 and must all be written on one line (no tabs or returns are allowed).

To add an entry at the end of the list, use the  button. The last line will be duplicated. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. Only the location of the inserted line gets the average value of the lines between which it is inserted. You may insert up to 256 lines.

[Note] Note:
If your last created pigment_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

The graphical slope_map editor is opened from the template forms of normal / normal pattern or directly from the slope_map entry in the 'template form...' menu.

It presents you with a graphic display on the left of the window and a list of points on the right side.

All parts of the profile display can be turned on and off using the toggle buttons at the bottom:

  •    turns the grid (gray color) on and off. Distance between two lines is 0.1 unit. The grid has a size of one unit square, with its left and lowest corner at the origin.
  •    turns the profile (blue color) on and off.
  •    shows or hides the points (red color) where the profile passes through.
  •    shows or hides the slope handles (green color).

All points can be selected with a mouse click and dragged around while holding the mouse button. The selected point is shown with a black circle surrounding it.

While dragging a point (red), the actual coordinates are shown at the bottom of the display.

When selecting a slope point (green) a vertical yellow line appears. The slope point can only be dragged along this line. The figure displayed at the bottom is the actual slope. It is best to keep slope values between -3 and 3.

When moving a point (red) around, the slopes of the curve at that point are locked and will follow the same movement.

To the right hand side a table of edit fields with the coordinates of the points is shown.

  • The first column gives the x-location from the origin. Notice that this editor is designed to create unit sized profiles: therefore, use entries between 0.0 and 1.0. To move a point, select the corresponding edit field and edit the value in the usual way. The point follows immediately on the display.
  • The second column gives the height from the origin. Notice that this editor is designed to create unit sized profiles: therefore, use entries between 0.0 and 1.0. To move a point, select the corresponding edit field and edit the value in the usual way. The point follows immediately on the display.
  • The third column shows the slope of the curve at that point. Edit it in the usual way, but it is best to keep slope values between -3 and 3.
  • Select a point by clicking on one of the edit fields. The selected point is highlighted with a dark frame and the edit field with a blue frame. The corresponding point in the preview is shown with a black circle surrounding it.

To add a point at the end of the list, use the  button.

To insert a point just before the selected point, use the  button. The inserted point gets the average value of the points between which it is inserted.

To remove a point from the list, select it and click the  button.

The texture_map dialog shows two columns.

  • In the first one the location of the texture pattern is entered.
  • In the second column the name of a previously #declared texture can be typed. It is also possible to type the body content (without the wrapping texture { }) of a legal texture statement. However, the number of typing characters is limited to 256 and must all be written on one line (no tabs or returns are allowed).

To add an entry at the end of the list, use the  button. The last line will be duplicated. There is a limit of 256 entries.

To insert an entry just before the selected line, use the  button. Only the location of the inserted line gets the average value of the lines between which it is inserted. You may insert up to 256 lines.

[Note] Note:
If your last created texture_map was a large one, it may take some time before the dialog is displayed on screen.

To remove an entry from the list, select it and click the  button.

Allows you to quickly add a header with some general information to your scene text. Just type the required information and tick the checkbox of that line.

A few standard include files are also listed. Select the needed include files or enter the name of other files needed.

The last two lines contain a version directive and a default texture, but can be used for any kind of information.

Note that all entries and settings of template forms are remembered for the next call if "OK" was clicked.

In this template form, you will find all items that can be contained in the global_settings { } statement. Refer to the POV-Ray™ Documentation and MegaPOV Documentation on string encoding, tone mapping, radiosity, photons, motion blur etc.

[Note] Note:
Note that the "Open" and "Save" buttons at the bottom will save the settings of all tabs of the global_settings.
To save and open the settings of each tab individually, use the "Import" and "Export" options in the "File" menu.

This template groups the templates for pigment, normal, finish and interior on one panel, so that a whole material can be specified at once. Refer to the appropriate chapters for more information on each panel.

As a bonus, this material can also be previewed on a few objects (sphere, box, ...) which can be chosen from the object pop-up. You could also preview their interaction with reflected (choose from the reflect pop-up) and/or refracted (choose from the background pop-up) environments.

The scene is lit by a light source at a great distance in front of the object. This light can be moved by rotating it. Use the top slider to rotate it to the left or the right, or enter the value directly in the edit field marked 'H:'. Moving the light up or down is done with the left slider or directly in the edit field marked 'V:'. A fill light  at the camera's position can be switched on and off with the 'Fill' option. Enter a percentage to set the strength of this light.

Under the "Layers" tab turn on the panels that should be used for the preview AND that will be written to the scene text at the cursor's location. Green indicators above the "Pigment", "Normal", "Finish" and "Interior" tabs show whether these panels have been turned on.

Do not forget to turn the layer on. This is the layer that is selected in the layer panel.

On top of the panels, above their respective tabs, a green indicator shows whether it is in use or not.

"Draw layer" will render a preview with all settings from the selected panels for the selected layer. Every time you made a change, to one of the settings, you should hit this button for an updated preview.

"Draw material" will render the material with all the layers which have been turned on. For this version you have to select them one by one to check if the 'Layer On' check box is ticked or not.

"OK" will write the material to your scene, with all the selected items.

Chapter 6. Known bugs, things to do, ...

Table of Contents

6.1. Known bugs
6.2. Things to do
6.3. E-mail, Snail-mail and internet

At this time there are no known bugs. But if there are some, we will inform you on our home page. Please drop in from time to time.

If you stumble across a problem, please report this to us. Include all information on the machine you are running POV-Ray 3.7 Unofficial on (type, processor, memory, system version, screen & resolution, ...). Also mention the version of POV-Ray 3.7 Unofficial and the compile date: to be found in the about box.

There are still things to do :-).

If you have a small suggestion, a bright idea, found some weird or annoying behavior of this program, or when you are delighted about some feature: don't hesitate to contact us.

We can be contacted at

E-mail:

url: http://users.skynet.be/smellenbergh/

snail-mail:

  Yvo & René Smellenbergh
Kuringenstraat 6
3511 Hasselt
Belgium

Please, check out our home page on the internet. Doing this, you will be kept informed on new versions, bugfixes and other relevant news concerning POV-Ray™ and POV-Ray 3.7 Unofficial! If you want to be informed about new updates, you could register - subscribe at our Web Page.

We would also like to thank our beta testers:

  • Windell H. Oskay (U.S.A.) who did a fine job testing the Universal Binary version;
  • Virtu Halttunen (Finland) who did a fine job testing the PPC version;
  • Joost Egelie (Dutch but living in Belgium) helped us out with the PPC version;
  • Riccardo Mottola (Italy);
  • Arthur Strange (U.S.A.);
  • Dan Hawkins (U.S.A.);
  • Robert Knuth (Germany) who joined us recently;
  • We also have to say a big thank you to: All the POV-addicts :-) who send in bug reports and motivated us to continue to work on our unofficial POV-Ray™ versions. Thanks for your wonderful comments! The authors of the patches we now implemented in this version. You'll find more about them in the appropriate chapters of the MegaPOV Documentation.

Enjoy POV-Ray™ through POV-Ray 3.7 Unofficial!